import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    headerStyle: 't',
    nowPage: 0,
  },
  mutations: {
    headerStyle(state, type) {
      state.headerStyle = type
    },
    nowPage(state, num) {
      state.nowPage = num
    },
  },
  actions: {

  }
})
